import {http} from '@/utils/http'

// 添加发票申请记录
export function addInvoiceRecord(data:any) {
    return http.post<any>('/admin/invoiceRecord/addInvoiceRecord', data)
}

// 修改发票申请记录
export function updateInvoiceRecord(data:any) {
    return http.post<any>('/admin/invoiceRecord/updateInvoiceRecord', data)
}

// 删除发票申请记录
export function deleteInvoiceRecord(id:string) {
    return http.post<any>('/admin/invoiceRecord/deleteInvoiceRecord/'+id)
}

// 获取发票申请记录详情
export function getInvoiceRecord(id:any) {
    return http.post<any>('/admin/invoiceRecord/getInvoiceRecord/'+id)
}

// 获取发票申请记录分页列表
export function getInvoiceRecordPage(data:any) {
    return http.post<any>('/admin/invoiceRecord/getInvoiceRecordPage', data)
}





















